<div class="banner" style="margin-top:50px;">身体形态评价</div>
  <div style="width:100%;margin:10px 0px 10px 0px;color:#67bd98;font-size:16px;line-height:10px;"><div class='triangle-right' style="float:left;"></div>身高等级分布统计概况</div>
  <div class="small_banner">整体概况</div>
   <div style="width:1200px;height:auto;">
    <div style="width:500px;;margin-right:50px;float:left;height:300px;" id="height"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[2]['height'][1][0][0]; ?>");
      var heihgt2=parseFloat("<?php echo $data[2]['height'][1][1][0]; ?>");
      var heihgt3=parseFloat("<?php echo $data[2]['height'][1][2][0]; ?>");
      var heihgt4=parseFloat("<?php echo $data[2]['height'][1][3][0]; ?>");
      var heihgt5=parseFloat("<?php echo $data[2]['height'][1][4][0]; ?>");
      var heihgt6=parseFloat("<?php echo $data[2]['height'][1][5][0]; ?>");
      $('#height').highcharts({
            exporting: {
              enabled:false
            },
        chart: {
          plotBackgroundColor: null,
          plotBorderWidth: null,
          plotShadow: false,
          type: 'pie'
      },
      title: {
          text: ''
      },
      plotOptions: {
        pie: {
          allowPointSelect: true,
          cursor: 'pointer',
          dataLabels: {
              enabled: false
          },
          showInLegend: true
        }
      },
      series: [{
        name: '等级',
        colorByPoint: true,
        data: [{
          name: '很高',
          y: heihgt1
        }, {
          name: '较高',
          y: heihgt2
        }, {
          name: '标准',
          y: heihgt3
        }, {
          name: '较矮',
          y: heihgt4
        }, {
          name: '很矮',
          y: heihgt5
        }, {
          name: '录入有误',
          y: heihgt6
        }]
      }]
      });
    </script>
      <div style="width:500px;margin-left:50px;float:left;font-size:18px;font-weight:bold;">
      从整体身高等级来看，肥胖儿中很高的幼儿人数{$data[2]['height'][1][0][0]}名，占比<?php echo round($data[2]['height'][1][0][0]/$data[2]["height"][0]*100,2); ?>%，较高的幼儿人数{$data[2]['height'][1][1][0]}名，占比<?php echo round($data[2]['height'][1][1][0]/$data[2]["height"][0]*100,2); ?>%，标准的幼儿人数{$data[2]['height'][1][2][0]}名，占比<?php echo round($data[2]['height'][1][2][0]/$data[2]["height"][0]*100,2); ?>%，较矮的幼儿人数{$data[2]['height'][1][3][0]}名，占比<?php echo round($data[2]['height'][1][3][0]/$data[2]["height"][0]*100,2); ?>%，很矮的幼儿人数{$data[2]['height'][1][4][0]}名，占比<?php echo round($data[2]['height'][1][4][0]/$data[2]["height"][0]*100,2); ?>%，录入有误的幼儿人数{$data[2]['height'][1][5][0]}名，占比<?php echo round($data[2]['height'][1][5][0]/$data[2]["height"][0]*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--身高环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="height_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][0]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][0]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][0]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][0]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][0]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][0]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][0]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][0]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][0]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][0]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][0]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][0]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[0]['height'][1][4][0]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][0]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[2]['height'][1][4][0]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
      var heihgt6=parseFloat("<?php echo $data[0]['height'][1][5][0]; ?>");
      var heihgt6_1=parseFloat("<?php echo $data[1]['height'][1][5][0]; ?>");
      var heihgt6_2=parseFloat("<?php echo $data[2]['height'][1][5][0]; ?>");
      var heihgt6=new Array(heihgt6,heihgt6_1,heihgt6_2);
     $('#height_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }, {
          name: '录入有误',
          data: heihgt6
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][0][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][1][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][2][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][3][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][4][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">录入有误</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[height][1][5][0]/$year['height'][0]*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--身高环比结束-->
  <div class="small_banner">按性别分布概况</div>
  <!--性别身高分布开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;margin-right:50px;" id="height_gender"></div>
    <script>
      var physicallevel1_man=parseFloat("<?php echo $data[2]['height'][1][0][1]; ?>");
      var physicallevel1_woman=parseFloat("<?php echo $data[2]['height'][1][0][2]; ?>");
      var physicallevel2_man=parseFloat("<?php echo $data[2]['height'][1][1][1]; ?>");
      var physicallevel2_woman=parseFloat("<?php echo $data[2]['height'][1][1][2]; ?>");
      var physicallevel3_man=parseFloat("<?php echo $data[2]['height'][1][2][1]; ?>");
      var physicallevel3_woman=parseFloat("<?php echo $data[2]['height'][1][2][2]; ?>");
      var physicallevel4_man=parseFloat("<?php echo $data[2]['height'][1][3][1]; ?>");
      var physicallevel4_woman=parseFloat("<?php echo $data[2]['height'][1][3][2]; ?>");
      var physicallevel5_man=parseFloat("<?php echo $data[2]['height'][1][4][1]; ?>");
      var physicallevel5_woman=parseFloat("<?php echo $data[2]['height'][1][4][2]; ?>");
      var physicallevel6_man=parseFloat("<?php echo $data[2]['height'][1][5][1]; ?>");
      var physicallevel6_woman=parseFloat("<?php echo $data[2]['height'][1][5][2]; ?>");
      $('#height_gender').highcharts({
            exporting: {
              enabled:false
            },

          chart: {
              type: 'column'
          },
          title: {
              text: ''
          },
          subtitle: {
              text: ''
          },
          xAxis: {
            categories: [
                '很高',
                '较高',
                '标准',
                '较矮',
                '很矮',
                '录入有误'
            ],
              crosshair: true
          },
          yAxis: {
              min: 0,
              title: {
                  text: '人数 (人)'
              }
          },
          tooltip: {
              headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
              pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                  '<td style="padding:0"><b>{point.y} 人</b></td></tr>',
              footerFormat: '</table>',
              shared: true,
              useHTML: true
          },
          plotOptions: {
              column: {
                  pointPadding: 0.2,
                  borderWidth: 0
              }
          },
          series: [{
              name: '男',
              data: [physicallevel1_man, physicallevel2_man, physicallevel3_man,physicallevel4_man,physicallevel5_man,physicallevel6_man]

          }, {
              name: '女',
              data: [physicallevel1_woman,physicallevel2_woman,physicallevel3_woman,physicallevel4_woman,physicallevel5_woman,physicallevel6_woman]

          }]
      });
    </script>
    <php>
      $man=$data[2]['height'][1][0][1]+$data[2]['height'][1][1][1]+$data[2]['height'][1][2][1]+$data[2]['height'][1][3][1]+$data[2]['height'][1][4][1]+$data[2]['height'][1][5][1];
      $woman=$data[2]['height'][1][0][2]+$data[2]['height'][1][1][2]+$data[2]['height'][1][2][2]+$data[2]['height'][1][3][2]+$data[2]['height'][1][4][2]+$data[2]['height'][1][5][2];
    </php>
    <div style="width:500px;float:left;font-size:18px;margin-left:50px;font-weight:bold;">
      从性别分布来看，肥胖儿男孩中很高幼儿人数{$data[2]['height'][1][0][1]}名，占比<?php echo round($data[2]['height'][1][0][1]/$man*100,2); ?>%，较高人数{$data[2]['height'][1][1][1]}名，占比<?php echo round($data[2]['height'][1][1][1]/$man*100,2); ?>%，标准人数{$data[2]['height'][1][2][1]}名，占比<?php echo round($data[2]['height'][1][2][1]/$man*100,2); ?>%，较矮人数{$data[2]['height'][1][3][1]}名，占比<?php echo round($data[2]['height'][1][3][1]/$man*100,2); ?>%，很矮人数{$data[2]['height'][1][4][1]}名，占比<?php echo round($data[2]['height'][1][4][1]/$man*100,2); ?>%，录入有误人数{$data[2]['height'][1][5][1]}名，占比<?php echo round($data[2]['height'][1][5][1]/$man*100,2); ?>%。肥胖儿女孩中较高幼儿人数{$data[2]['height'][1][0][2]}名，占比<?php echo round($data[2]['height'][1][0][2]/$woman*100,2); ?>%，很高人数{$data[2]['height'][1][1][2]}名，占比<?php echo round($data[2]['height'][1][1][2]/$woman*100,2); ?>%，标准人数{$data[2]['height'][1][2][2]}名，占比<?php echo round($data[2]['height'][1][2][2]/$woman*100,2); ?>%，较矮人数{$data[2]['height'][1][3][2]}名，占比<?php echo round($data[2]['height'][1][3][2]/$woman*100,2); ?>%，很矮人数{$data[2]['height'][1][4][2]}名，占比<?php echo round($data[2]['height'][1][4][2]/$woman*100,2); ?>%，录入有误人数{$data[2]['height'][1][5][2]}名，占比<?php echo round($data[2]['height'][1][5][2]/$woman*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--性别身高分布结束-->
  <!--男孩环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="height_man_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][1]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][1]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][1]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][1]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][1]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][1]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][1]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][1]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][1]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][1]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][1]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][1]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[2]['height'][1][4][1]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][1]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[0]['height'][1][4][1]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
      var heihgt6=parseFloat("<?php echo $data[2]['height'][1][5][1]; ?>");
      var heihgt6_1=parseFloat("<?php echo $data[1]['height'][1][5][1]; ?>");
      var heihgt6_2=parseFloat("<?php echo $data[0]['height'][1][5][1]; ?>");
      var heihgt6=new Array(heihgt6,heihgt6_1,heihgt6_2);
     $('#height_man_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '男孩身高环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }, {
          name: '录入有误',
          data: heihgt6
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][0][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][1][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][2][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][3][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][4][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">录入有误</td>
        <volist name="data" id="year">
          <php>
            $man=$year['height'][1][0][1]+$year['height'][1][1][1]+$year['height'][1][2][1]+$year['height'][1][3][1]+$year['height'][1][4][1]+$year['height'][1][5][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][5][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--男孩身高环比结束-->
  <!--女孩环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="height_woman_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][2]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][2]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][2]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][2]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][2]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][2]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][2]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][2]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][2]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][2]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][2]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][2]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[0]['height'][1][4][2]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][2]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[2]['height'][1][4][2]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
      var heihgt6=parseFloat("<?php echo $data[0]['height'][1][5][2]; ?>");
      var heihgt6_1=parseFloat("<?php echo $data[1]['height'][1][5][2]; ?>");
      var heihgt6_2=parseFloat("<?php echo $data[2]['height'][1][5][2]; ?>");
      var heihgt6=new Array(heihgt6,heihgt6_1,heihgt6_2);
     $('#height_woman_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '女孩身高环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }, {
          name: '录入有误',
          data: heihgt6
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][0][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][1][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][2][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][3][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][4][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">录入有误</td>
        <volist name="data" id="year">
        <php>
          $woman=$year['height'][1][0][2]+$year['height'][1][1][2]+$year['height'][1][2][2]+$year['height'][1][3][2]+$year['height'][1][4][2]+$year['height'][1][5][2];
        </php>
          <td style="text-align:center;"><php> echo round($year[height][1][5][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--女孩身高环比结束-->
  <div class="small_banner">按年龄分布概况</div>
  <!--年龄分布开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;margin-right:50px;" id="height_age"></div>
    <script>
      var physicallevel1_age_3=parseFloat("<?php echo $data[2]['height'][1][0][3]; ?>");
      var physicallevel1_age_4=parseFloat("<?php echo $data[2]['height'][1][0][4]; ?>");
      var physicallevel1_age_5=parseFloat("<?php echo $data[2]['height'][1][0][5]; ?>");
      var physicallevel2_age_3=parseFloat("<?php echo $data[2]['height'][1][1][3]; ?>");
      var physicallevel2_age_4=parseFloat("<?php echo $data[2]['height'][1][1][4]; ?>");
      var physicallevel2_age_5=parseFloat("<?php echo $data[2]['height'][1][1][5]; ?>");
      var physicallevel3_age_3=parseFloat("<?php echo $data[2]['height'][1][2][3]; ?>");
      var physicallevel3_age_4=parseFloat("<?php echo $data[2]['height'][1][2][4]; ?>");
      var physicallevel3_age_5=parseFloat("<?php echo $data[2]['height'][1][2][5]; ?>");
      var physicallevel4_age_3=parseFloat("<?php echo $data[2]['height'][1][3][3]; ?>");
      var physicallevel4_age_4=parseFloat("<?php echo $data[2]['height'][1][3][4]; ?>");
      var physicallevel4_age_5=parseFloat("<?php echo $data[2]['height'][1][3][5]; ?>");
      var physicallevel5_age_3=parseFloat("<?php echo $data[2]['height'][1][4][3]; ?>");
      var physicallevel5_age_4=parseFloat("<?php echo $data[2]['height'][1][4][4]; ?>");
      var physicallevel5_age_5=parseFloat("<?php echo $data[2]['height'][1][4][5]; ?>");

      $('#height_age').highcharts({
            exporting: {
              enabled:false
            },

          chart: {
              type: 'column'
          },
          title: {
              text: ''
          },
          subtitle: {
              text: ''
          },
          xAxis: {
            categories: [
                '很高',
                '较高',
                '标准',
                '较矮',
                '很矮',
            ],
              crosshair: true
          },
          yAxis: {
              min: 0,
              title: {
                  text: '人数 (人)'
              }
          },
          tooltip: {
              headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
              pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                  '<td style="padding:0"><b>{point.y} 人</b></td></tr>',
              footerFormat: '</table>',
              shared: true,
              useHTML: true
          },
          plotOptions: {
              column: {
                  pointPadding: 0.2,
                  borderWidth: 0
              }
          },
          series: [{
              name: '3-4岁',
              data: [physicallevel1_age_3, physicallevel2_age_3, physicallevel3_age_3,physicallevel4_age_3,physicallevel5_age_3]

          }, {
              name: '4-5岁',
              data: [physicallevel1_age_4,physicallevel2_age_4,physicallevel3_age_4,physicallevel4_age_4,physicallevel5_age_4]

          },{
              name: '5-6岁',
              data: [physicallevel1_age_5,physicallevel2_age_5,physicallevel3_age_5,physicallevel4_age_5,physicallevel5_age_5]

          }]
      });
    </script>
    <php>
      $age1=$data[2]['height'][1][0][3]+$data[2]['height'][1][1][3]+$data[2]['height'][1][2][3]+$data[2]['height'][1][3][3]+$data[2]['height'][1][4][3];
      $age2=$data[2]['height'][1][0][4]+$data[2]['height'][1][1][4]+$data[2]['height'][1][2][4]+$data[2]['height'][1][3][4]+$data[2]['height'][1][4][4];
      $age3=$data[2]['height'][1][0][5]+$data[2]['height'][1][1][5]+$data[2]['height'][1][2][5]+$data[2]['height'][1][3][5]+$data[2]['height'][1][4][5];
    </php>
    <div style="width:500px;float:left;font-size:18px;margin-left:50px;font-weight:bold;">
      从年龄分布来看，肥胖儿中3-4岁幼儿中很高人数{$data[2]['height'][1][0][3]}名，占比<?php echo round($data[2]['height'][1][0][3]/$age1*100,2); ?>%，较高人数{$data[2]['height'][1][1][3]}名，占比<?php echo round($data[2]['height'][1][1][3]/$age1*100,2); ?>%，标准人数{$data[2]['height'][1][2][3]}名，占比<?php echo round($data[2]['height'][1][2][3]/$age1*100,2); ?>%，较矮人数{$data[2]['height'][1][3][3]}名，占比<?php echo round($data[2]['height'][1][3][3]/$age1*100,2); ?>%，很矮人数{$data[2]['height'][1][4][3]}名，占比<?php echo round($data[2]['height'][1][4][3]/$age1*100,2); ?>%。肥胖儿中4-5岁幼儿中很高幼儿人数{$data[2]['height'][1][0][4]}名，占比<?php echo round($data[2]['height'][1][0][4]/$age2*100,2); ?>%，较高人数{$data[2]['height'][1][1][4]}名，占比<?php echo round($data[2]['height'][1][1][4]/$age2*100,2); ?>%，标准人数{$data[2]['height'][1][2][4]}名，占比<?php echo round($data[2]['height'][1][2][4]/$age2*100,2); ?>%，较矮人数{$data[2]['height'][1][3][4]}名，占比<?php echo round($data[2]['height'][1][3][4]/$age2*100,2); ?>%，很矮人数{$data[2]['height'][1][4][4]}名，占比<?php echo round($data[2]['height'][1][4][4]/$age2*100,2); ?>%。肥胖儿中5-6岁幼儿中很高幼儿人数{$data[2]['height'][1][0][5]}名，占比<?php echo round($data[2]['height'][1][0][5]/$age3*100,2); ?>%，较高人数{$data[2]['height'][1][1][5]}名，占比<?php echo round($data[2]['height'][1][1][5]/$age3*100,2); ?>%，标准人数{$data[2]['height'][1][2][5]}名，占比<?php echo round($data[2]['height'][1][2][5]/$age3*100,2); ?>%，较矮人数{$data[2]['height'][1][3][5]}名，占比<?php echo round($data[2]['height'][1][3][5]/$age3*100,2); ?>%，很矮人数{$data[2]['height'][1][4][5]}名，占比<?php echo round($data[2]['height'][1][4][5]/$age3*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--年龄分布结束-->
  <!--3岁环比开始-->
  <div style="width:100%;height:auto;margin-top:5px;">
    <div style="width:500px;float:left;height:300px;" id="height_age_3_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][3]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][3]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][3]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][3]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][3]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][3]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][3]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][3]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][3]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][3]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][3]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][3]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[0]['height'][1][4][3]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][3]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[2]['height'][1][4][3]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
     $('#height_age_3_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '3-4岁身高环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][3]+$year[height][1][1][3]+$year[height][1][2][3]+$year[height][1][3][3]+$year[height][1][4][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][0][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][3]+$year[height][1][1][3]+$year[height][1][2][3]+$year[height][1][3][3]+$year[height][1][4][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][1][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][3]+$year[height][1][1][3]+$year[height][1][2][3]+$year[height][1][3][3]+$year[height][1][4][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][2][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][3]+$year[height][1][1][3]+$year[height][1][2][3]+$year[height][1][3][3]+$year[height][1][4][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][3][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
       <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][3]+$year[height][1][1][3]+$year[height][1][2][3]+$year[height][1][3][3]+$year[height][1][4][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][4][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--3岁身高环比结束-->
  <!--4岁环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="height_age_4_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][4]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][4]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][4]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][4]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][4]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][4]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][4]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][4]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][4]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][4]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][4]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][4]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[0]['height'][1][4][4]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][4]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[2]['height'][1][4][4]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
     $('#height_age_4_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '4-5岁身高环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][4]+$year[height][1][1][4]+$year[height][1][2][4]+$year[height][1][3][4]+$year[height][1][4][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][0][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][4]+$year[height][1][1][4]+$year[height][1][2][4]+$year[height][1][3][4]+$year[height][1][4][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][1][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][4]+$year[height][1][1][4]+$year[height][1][2][4]+$year[height][1][3][4]+$year[height][1][4][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][2][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][4]+$year[height][1][1][4]+$year[height][1][2][4]+$year[height][1][3][4]+$year[height][1][4][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][3][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
       <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][4]+$year[height][1][1][4]+$year[height][1][2][4]+$year[height][1][3][4]+$year[height][1][4][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][4][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--4岁身高环比结束-->
  <!--5岁环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="height_age_5_hb"></div>
    <script>
      var heihgt1=parseFloat("<?php echo $data[0]['height'][1][0][5]; ?>");
      var heihgt1_1=parseFloat("<?php echo $data[1]['height'][1][0][5]; ?>");
      var heihgt1_2=parseFloat("<?php echo $data[2]['height'][1][0][5]; ?>");
      var heihgt1=new Array(heihgt1,heihgt1_1,heihgt1_2);
      var heihgt2=parseFloat("<?php echo $data[0]['height'][1][1][5]; ?>");
      var heihgt2_1=parseFloat("<?php echo $data[1]['height'][1][1][5]; ?>");
      var heihgt2_2=parseFloat("<?php echo $data[2]['height'][1][1][5]; ?>");
      var heihgt2=new Array(heihgt2,heihgt2_1,heihgt2_2);
      var heihgt3=parseFloat("<?php echo $data[0]['height'][1][2][5]; ?>");
      var heihgt3_1=parseFloat("<?php echo $data[1]['height'][1][2][5]; ?>");
      var heihgt3_2=parseFloat("<?php echo $data[2]['height'][1][2][5]; ?>");
      var heihgt3=new Array(heihgt3,heihgt3_1,heihgt3_2);
      var heihgt4=parseFloat("<?php echo $data[0]['height'][1][3][5]; ?>");
      var heihgt4_1=parseFloat("<?php echo $data[1]['height'][1][3][5]; ?>");
      var heihgt4_2=parseFloat("<?php echo $data[2]['height'][1][3][5]; ?>");
      var heihgt4=new Array(heihgt4,heihgt4_1,heihgt4_2);
      var heihgt5=parseFloat("<?php echo $data[0]['height'][1][4][5]; ?>");
      var heihgt5_1=parseFloat("<?php echo $data[1]['height'][1][4][5]; ?>");
      var heihgt5_2=parseFloat("<?php echo $data[2]['height'][1][4][5]; ?>");
      var heihgt5=new Array(heihgt5,heihgt5_1,heihgt5_2);
     $('#height_age_5_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '5-6岁身高环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '很高',
          data: heihgt1
        },{
          name: '较高',
          data: heihgt2
        }, {
          name: '标准',
          data: heihgt3
        }, {
          name: '较矮',
          data: heihgt4
        }, {
          name: '很矮',
          data: heihgt5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][5]+$year[height][1][1][5]+$year[height][1][2][5]+$year[height][1][3][5]+$year[height][1][4][5];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][0][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较高</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][5]+$year[height][1][1][5]+$year[height][1][2][5]+$year[height][1][3][5]+$year[height][1][4][5];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][1][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">标准</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][5]+$year[height][1][1][5]+$year[height][1][2][5]+$year[height][1][3][5]+$year[height][1][4][5];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][2][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较矮</td>
        <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][5]+$year[height][1][1][5]+$year[height][1][2][5]+$year[height][1][3][5]+$year[height][1][4][5];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][3][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很矮</td>
       <volist name="data" id="year">
          <php>
            $age=$year[height][1][0][5]+$year[height][1][1][5]+$year[height][1][2][5]+$year[height][1][3][5]+$year[height][1][4][5];
          </php>
          <td style="text-align:center;"><php> echo round($year[height][1][4][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--5岁身高环比结束-->
  <div style="width:100%;margin:10px 0px 10px 0px;color:#67bd98;font-size:18px;line-height:10px;"><div class='triangle-right' style="float:left;"></div>身高体重分布统计概况</div>
  <div class="small_banner">整体概况</div>
   <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;margin-right:50px;" id="weight"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[2]['weight'][1][3][0]; ?>");
      var weight5=parseFloat("<?php echo $data[2]['weight'][1][4][0]; ?>");
      $('#weight').highcharts({
            exporting: {
              enabled:false
            },

        chart: {
          plotBackgroundColor: null,
          plotBorderWidth: null,
          plotShadow: false,
          type: 'pie'
      },
      title: {
          text: ''
      },
      plotOptions: {
        pie: {
          allowPointSelect: true,
          cursor: 'pointer',
          dataLabels: {
              enabled: false
          },
          showInLegend: true
        }
      },
      series: [{
        name: '等级',
        colorByPoint: true,
        data: [{
          name: '较胖',
          y: weight4
        }, {
          name: '很胖',
          y: weight5
        }]
      }]
      });
    </script>
      <div style="width:500px;float:left;font-size:18px;margin-left:50px;font-weight:bold;">
      从整体身高体重等级来看，肥胖儿中很胖幼儿人数{$data[2]['weight'][1][4][0]}名，占比<?php echo round($data[2]['weight'][1][4][0]/$data[2]["weight"][0]*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][0]}名，占比<?php echo round($data[2]['weight'][1][3][0]/$data[2]["weight"][0]*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][0]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][0]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][0]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][0]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][0]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][0]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[weight][1][3][0]/$year['weight'][0]*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
          <td style="text-align:center;"><php> echo round($year[weight][1][4][0]/$year['weight'][0]*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--体重环比结束-->
  <div class="small_banner">按性别分布概况</div>
  <!--性别体重分布开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;margin-right:50px;" id="weight_gender"></div>
    <script>
      var physicallevel4_man=parseFloat("<?php echo $data[2]['weight'][1][3][1]; ?>");
      var physicallevel4_woman=parseFloat("<?php echo $data[2]['weight'][1][3][2]; ?>");
      var physicallevel5_man=parseFloat("<?php echo $data[2]['weight'][1][4][1]; ?>");
      var physicallevel5_woman=parseFloat("<?php echo $data[2]['weight'][1][4][2]; ?>");
      $('#weight_gender').highcharts({
            exporting: {
              enabled:false
            },

          chart: {
              type: 'column'
          },
          title: {
              text: ''
          },
          subtitle: {
              text: ''
          },
          xAxis: {
            categories: [
                '较胖',
                '很胖'
            ],
              crosshair: true
          },
          yAxis: {
              min: 0,
              title: {
                  text: '人数 (人)'
              }
          },
          tooltip: {
              headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
              pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                  '<td style="padding:0"><b>{point.y} 人</b></td></tr>',
              footerFormat: '</table>',
              shared: true,
              useHTML: true
          },
          plotOptions: {
              column: {
                  pointPadding: 0.2,
                  borderWidth: 0
              }
          },
          series: [{
              name: '男',
              data: [physicallevel4_man,physicallevel5_man]

          }, {
              name: '女',
              data: [physicallevel4_woman,physicallevel5_woman]

          }]
      });
    </script>
    <php>
      $man=$data[2]['weight'][1][4][1]+$data[2]['weight'][1][3][1];
      $woman=$data[2]['weight'][1][4][2]+$data[2]['weight'][1][3][2];
    </php>
    <div style="width:500px;float:left;font-size:18px;margin-left:50px;font-weight:bold;">
      从性别分布来看，肥胖儿男孩中很胖幼儿人数{$data[2]['weight'][1][4][1]}名，占比<?php echo round($data[2]['weight'][1][4][1]/$man*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][1]}名，占比<?php echo round($data[2]['weight'][1][3][1]/$man*100,2); ?>%。肥胖儿女孩中很胖幼儿人数{$data[2]['weight'][1][4][2]}名，占比<?php echo round($data[2]['weight'][1][4][2]/$woman*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][2]}名，占比<?php echo round($data[2]['weight'][1][3][2]/$woman*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--性别体重分布结束-->
  <!--男孩体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_man_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][1]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][1]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][1]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][1]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][1]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][1]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_man_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '男孩体重环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [ {
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
          <php>
            $man=$year['weight'][1][4][1]+$year['weight'][1][3][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][3][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
          <php>
            $man=$year['weight'][1][4][1]+$year['weight'][1][3][1];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][4][1]/$man*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--男孩体重环比结束-->
  <!--女孩体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_woman_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][2]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][2]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][2]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][2]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][2]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][2]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_woman_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '女孩体重环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
          <php>
            $woman=$year['weight'][1][4][2]+$year['weight'][1][3][2];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][3][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
          <php>
            $woman=$year['weight'][1][4][2]+$year['weight'][1][3][2];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][4][2]/$woman*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--女孩体重环比结束-->
  <div class="small_banner">按年龄分布概况</div>
  <!--年龄分布开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;margin-right:50px;" id="weight_age"></div>
    <script>
      var physicallevel4_age_3=parseFloat("<?php echo $data[2]['weight'][1][3][3]; ?>");
      var physicallevel4_age_4=parseFloat("<?php echo $data[2]['weight'][1][3][4]; ?>");
      var physicallevel4_age_5=parseFloat("<?php echo $data[2]['weight'][1][3][5]; ?>");
      var physicallevel4_age_6=parseFloat("<?php echo $data[2]['weight'][1][3][6]; ?>");
      var physicallevel5_age_3=parseFloat("<?php echo $data[2]['weight'][1][4][3]; ?>");
      var physicallevel5_age_4=parseFloat("<?php echo $data[2]['weight'][1][4][4]; ?>");
      var physicallevel5_age_5=parseFloat("<?php echo $data[2]['weight'][1][4][5]; ?>");
      var physicallevel5_age_6=parseFloat("<?php echo $data[2]['weight'][1][4][6]; ?>");
      $('#weight_age').highcharts({
            exporting: {
              enabled:false
            },

          chart: {
              type: 'column'
          },
          title: {
              text: ''
          },
          subtitle: {
              text: ''
          },
          xAxis: {
            categories: [
                '较胖',
                '很胖'
            ],
              crosshair: true
          },
          yAxis: {
              min: 0,
              title: {
                  text: '人数 (人)'
              }
          },
          tooltip: {
              headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
              pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                  '<td style="padding:0"><b>{point.y} 人</b></td></tr>',
              footerFormat: '</table>',
              shared: true,
              useHTML: true
          },
          plotOptions: {
              column: {
                  pointPadding: 0.2,
                  borderWidth: 0
              }
          },
          series: [{
              name: '3-4岁',
              data: [physicallevel4_age_3,physicallevel5_age_3]

          }, {
              name: '4-5岁',
              data: [physicallevel4_age_4,physicallevel5_age_4]

          },{
              name: '5-6岁',
              data: [physicallevel4_age_5,physicallevel5_age_5]

          }]
      });
    </script>
    <php>
      $age1=$data[2]['weight'][1][4][3]+$data[2]['weight'][1][3][3];
      $age2=$data[2]['weight'][1][4][4]+$data[2]['weight'][1][3][4];
      $age3=$data[2]['weight'][1][4][5]+$data[2]['weight'][1][3][5];
    </php>
    <div style="width:500px;float:left;font-size:18px;margin-left:50px;font-weight:bold;">
       从年龄分布来看，3-4岁肥胖儿中很胖幼儿人数{$data[2]['weight'][1][4][3]}名，占比<?php echo round($data[2]['weight'][1][4][3]/$age1*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][3]}名，占比<?php echo round($data[2]['weight'][1][3][3]/$age1*100,2); ?>%。4-5岁肥胖儿中很胖幼儿人数{$data[2]['weight'][1][4][4]}名，占比<?php echo round($data[2]['weight'][1][4][4]/$age2*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][4]}名，占比<?php echo round($data[2]['weight'][1][3][4]/$age2*100,2); ?>%。5-6岁肥胖儿中很胖幼儿人数{$data[2]['weight'][1][4][5]}名，占比<?php echo round($data[2]['weight'][1][4][5]/$age3*100,2); ?>%，较胖幼儿人数{$data[2]['weight'][1][3][5]}名，占比<?php echo round($data[2]['weight'][1][3][5]/$age3*100,2); ?>%。
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--性别身高分布结束-->
  <!--3岁体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_3_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][3]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][3]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][3]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][3]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][3]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][3]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_3_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '3-4岁体重环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
          <php>
            $age=$year['weight'][1][4][3]+$year['weight'][1][3][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][3][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
          <php>
            $age=$year['weight'][1][4][3]+$year['weight'][1][3][3];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][4][3]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--3岁体重环比结束-->
  <!--4岁体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_4_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][4]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][4]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][4]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][4]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][4]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][4]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_4_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '4-5岁体重环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
        <php>
          $age=$year['weight'][1][4][4]+$year['weight'][1][3][4];
        </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][3][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
          <php>
            $age=$year['weight'][1][4][4]+$year['weight'][1][3][4];
          </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][4][4]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--4岁体重环比结束-->
  <!--5岁体重环比开始-->
  <div style="width:100%;height:auto;">
    <div style="width:500px;float:left;height:300px;" id="weight_5_hb"></div>
    <script>
      var weight4=parseFloat("<?php echo $data[0]['weight'][1][3][5]; ?>");
      var weight4_1=parseFloat("<?php echo $data[1]['weight'][1][3][5]; ?>");
      var weight4_2=parseFloat("<?php echo $data[2]['weight'][1][3][5]; ?>");
      var weight4=new Array(weight4,weight4_1,weight4_2);
      var weight5=parseFloat("<?php echo $data[0]['weight'][1][4][5]; ?>");
      var weight5_1=parseFloat("<?php echo $data[1]['weight'][1][4][5]; ?>");
      var weight5_2=parseFloat("<?php echo $data[2]['weight'][1][4][5]; ?>");
      var weight5=new Array(weight5,weight5_1,weight5_2);
     $('#weight_5_hb').highcharts({
            exporting: {
              enabled:false
            },

        title: {
          text: '5-6岁体重环比',
          x: -20 //center
        },
        xAxis: {
          categories: year
        },
        yAxis: {
          title: {
              text: '人数 (人)'
          },
          plotLines: [{
            value: 0,
            width: 1,
            color: '#808080'
          }]
        },
        tooltip: {
          valueSuffix: '人'
        },
        legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'middle',
          borderWidth: 0
        },
        series: [{
          name: '较胖',
          data: weight4
        }, {
          name: '很胖',
          data: weight5
        }]
      });
    </script>
    <div style="width:50%;float:right">
      <table class="table" style="width:500px;border:1px solid #67bd98;" border="1">
      <tr>
        <td height="30" style="text-align:center;">&nbsp;&nbsp;</td>
        <volist name="data" id="year">
          <td style="text-align:center;">{$year.year}</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">较胖</td>
        <volist name="data" id="year">
        <php>
          $age=$year['weight'][1][4][5]+$year['weight'][1][3][5];
        </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][3][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
      <tr>
        <td height="30" style="text-align:center;">很胖</td>
        <volist name="data" id="year">
        <php>
          $age=$year['weight'][1][4][5]+$year['weight'][1][3][5];
        </php>
          <td style="text-align:center;"><php> echo round($year[weight][1][4][5]/$age*100,2);</php>%</td>
        </volist>
      </tr>
    </table>
    </div>
    <div style="clear:both;"></div>
  </div>
  <!--5岁体重环比结束-->